﻿@{
    ViewBag.Title = "RePayment";
    Layout = null;
}
<!doctype html>
<html ng-app="app">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>继续支付</title>
    @*<link href="~/Content/Style/gobal.css" rel="stylesheet" type="text/css">
        <link href="~/Content/Style/mune_info.css" rel="stylesheet" type="text/css">*@
    <link href="~/Content/Style/styleRePayment.css" rel="stylesheet" />
    <link href="~/Content/Style/baseRePayment.css" rel="stylesheet" />
    <script src="~/Content/Script/angular.min.js"></script>
    @*jqueryAlert提示框*@
    <link href="~/Content/alert/css/alert.css" rel="stylesheet" />
    <script src="~/Content/alert/js/alert.js"></script>
    <script src="http://libs.baidu.com/jquery/1.10.2/jquery.min.js"></script>

    <script src="~/Scripts/PageJs/Main.js"></script>
    <script src="~/Scripts/PageJs/Order.js"></script>
    @*<script src="~/Content/Script/jquery-1.8.3.min.js"></script>*@
</head>

<body ng-controller="RePaymentController">
    <h1>订单号:<span ng-bind="NowFormID"></span></h1>
    <div style="margin-bottom:20px;display:none;">
         <div style="display:inline-block;margin-left:16px">
             <span>是否自取：</span>
        </div>
        <div style="display:inline-block;">
              <div id="isTake2" class="xuanze f-right" style="float:left;margin-top:22px" ng-click="take(2)"></div>
              <div style="float:left;margin:22px 15px 0px 5px;">是</div>
              <div id="isTake1" class="xuanze f-right"  style="float:left;margin-top:22px" ng-click="take(1)"></div>
              <div style="float:left;margin:22px 15px 0px 5px;">否</div>
              @*<input type="radio" name="isTake" ng-model="isTake" value="2" ng-click="isTake(2)"/>是
              <input type="radio" name="isTake" ng-model="isTake" value="1" ng-click="isTake(1)"/>否*@
        </div>
    </div>
    <h2>支付方式</h2>
    <div class="paid_box" ng-repeat="item in ddvm.paywalts">
        <div class="paid f-left">
            <div ng-if="item.bb == 1" class="xuanze f-left zhuangtai" id="aa" ng-model="ddvm.selectionW" ng-value="item" @*ng-checked="ddvm.selectionW.bb = 2"*@ ng-click="aa(item)"></div>
            <div ng-if="item.bb == 2" class="xuanze f-left" id="aa" ng-model="ddvm.selectionW" ng-value="item" @*ng-checked="ddvm.selectionW.bb = 1"*@ ng-click="aa(item)"></div>
            <h3 class="f-left" ng-bind="item.Name"></h3>
            <div class="clearfix"></div>
        </div>
        <div class="nothing f-right" ng-bind="item.PriTxt"></div>
        <div class="clearfix"></div>
    </div>
    <div class="jiage">
        <h3>总价：<span ng-bind="Total*0.01+'元'"></span></h3>
        @*<h3>已优惠：<span ng-bind="Discount*0.01+'元'"></span></h3>*@
    </div>
    <div class="kong"></div>
    <footer>
        <div class="quxiao f-left" ng-click="DeleteBookOrder(item.vof.FormID,NowPeyID)">取消订单</div>
        <div class="queren f-right" ng-click="PayBookOrder(item.vof.FormID,NowPeyID)">确认付款</div>
    </footer>
    <!--付款模态框start-->
                    <!--<div class="modal fade" id="payModal">
                        <div class="modal-dialog">
                            <div class="modal-content">
                                <form class="form-horizontal">
                                    <div class="modal-header" style="padding-bottom: 0; background: url('/Content/images/background-img.jpg')no-repeat center">
                                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                                        <h3  class="modal-title" style="color: #fff;">订单号：<span ng-bind="NowFormID" style="color:blue"></span></h3>                                      
                                    </div>
                                    <div class="modal-body">
                                        <div class="delivery-lable">
                                    <span class="lable" ng-value="nihao">支付方式：</span>
                                </div>
                                        <div class="container-fluid" >
                                            <table class=" pay-list" >
                                                <tbody>
                                                    <tr class="pay-class" ng-repeat="item in ddvm.paywalts">
                                                        <td class="radio-con" style="width:50px;">
                                                            <input type="radio" style="border:1px solid red" name="paywalt" ng-model="ddvm.selectionW" ng-value="item" ng-checked="ddvm.selectionW.ID == item.ID"  /></td>
                                                        <td class="text">
                                                            <label @*for="{{items.ID}}"*@>
                                                                <span class="pay-name"><span ng-bind="item.Name" ></span>
                                                                <span class="pay-desc" style="color:red">&nbsp;<span ng-bind="item.PriTxt"></span></span>
                                                            </label>
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                     <div class="modal-footer">
                                        <h3  class="modal-title" style="color:black; vertical-align:central"">总价：<span ng-bind="Total*0.01" style="color:red"></span>元</h3> 
                                         <h3  class="modal-title" style="color:black;">本单已优惠：<span ng-bind="Discount*0.01" style="color:blue"></span>元</h3> 
                                    </div>
                                    <div class="modal-footer">
                                        <button type="submit"  ng-click="PayBookOrder(item.vof.FormID,NowPeyID)" class="btn btn-primary">确认付款</button>
                                        <button type="submit"  ng-click="DeleteBookOrder(item.vof.FormID,NowPeyID)" ng-disabled="myForm.$invalid" class="btn btn-primary" style="color:red">取消订单</button>
                                    </div>
                 <aside class="col-md-7 sidebar ">
                </div>
            </aside>

                                    
                                </form>
                            </div>
                        </div>-->
    @*<script>
        $(".xuanze").click(
			function () {
			    console.log(0);
			    $(".xuanze").removeClass("zhuangtai")
			}
		);
        $(".xuanze").click(
			function () {
			    console.log(0);
			    $(this).addClass("zhuangtai")
			}
		);
    </script>*@
</body>
</html>